<?php
    header("Content-type:text/html;charset=utf-8");
    echo "测试下";
    include_once "jsSdk.class.php";
    $weixin = new jsSdk('wx3b58b8404db05ca0','471e552a161307701ade4d778f742d50');
    $configInfo = $weixin->getSignPackage();
    setcookie("appId",$configInfo["appId"],7200);
    setcookie("nonceStr",$configInfo["nonceStr"],7200);
    setcookie("timestamp",$configInfo["timestamp"],7200);
    setcookie("signature",$configInfo["signature"],7200);
    include_once "weixintest.html";
?>